package com.itheima.demo02;

public class Test {
    public static void main(String[] args) {
        //创建空参构造
        //zi z1 = new zi();

        //创建实参构造
        zi z2 = new zi("zhangsan", 12);
    }
}

class Fu {
    String name;
    int age;

    public Fu() {
    }

    public Fu(String name, int age) {
        this.name = name;
        this.age = age;
    }
}

class zi extends Fu {

    public zi(String zhangsan, int i) {
    }
}